package com.yunjijia;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;



@EnableCaching
@SpringBootApplication
@EnableConfigurationProperties
@EnableScheduling
@MapperScan(basePackages = {"com.yunjijia.mapper" ,"com.yunjijia.mapperOA"})
//@ServletComponentScan(basePackages = "com.yunjijia.servlet") //serclet  组件扫描器
//@ImportResource(
//        locations = {"classpath*:applicationConsumer.xml"}
//)
public class DemoApplication {


    public static void main(String[] args) {

        SpringApplication.run(DemoApplication.class, args);
    }


}


